package com.wdh.minio.event;

import com.wdh.minio.bean.Order;
import org.springframework.context.ApplicationEvent;


public class OrderCreateEvent extends ApplicationEvent{

    private String message;

    public OrderCreateEvent(Order order, String message) {
        super(order);
        this.message = message;
    }

    public String getMessage() {
        return message;
    }
}
